package com.hqj.demo.dao;

import com.hqj.demo.entity.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository
//@Component
public class AdminDaoI2 implements AdminDao{
    @Override
    public Student toLogin() {
        return new Student("hqj025","123456","女",25);
    }
}
